import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;


public class ABufferedReader
{
	public static void main(String[] args)
	{
		try
		{
			FileReader file = new FileReader("note.txt");
			BufferedReader buff = new BufferedReader(file);
			
			char ch;
			int in = buff.read();
			
			while(in != -1)
			{
				ch = (char)in;  //int to char
				System.out.print(ch);
				in = buff.read();
			}
			
			buff.close();
		}
		catch(IOException e)
		{
			System.out.println("Error --" + e.toString());
		}
	}

}
